ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / DropDown<T> Class / Text Property






In This Topic
    Text Property (DropDown<T>)
    In This Topic
    Gets or sets the text shown on the control.
    Syntax
    'Declaration
     
    
    Public Overridable Property Text As System.String
    'Usage
     
    
    Dim instance As DropDown(Of T)
    Dim value As System.String
     
    instance.Text = value
     
    value = instance.Text
    public virtual System.string Text {get; set;}
    public read-write property Text: System.String; virtual; 
    public function get,set Text : System.String
    public: __property virtual System.string* get_Text();
    public: __property virtual void set_Text( 
       System.string* value
    );
    public:
    virtual property System.String^ Text {
       System.String^ get();
       void set (    System.String^ value);
    }
    See Also